package com.action.mvc.sm.service;

import com.action.mvc.sm.mapper.ArticleMapper;
import com.action.mvc.sm.pojo.Article;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wuxiang on 2019/5/7.
 */
@Service
public class ArticleService {

    @Autowired
    ArticleMapper articleMapper;

    public List<Article> selectAll() {
        return articleMapper.selectAll();
    }
}
